.file-preview-box {
  background-color: #f3f4f6;
  height: 60px;
  width: 245px;
  padding: 8px;
  flex-shrink: 0;
  border-radius: 8px;
  border: 1px solid #e5e5e5;
  transition: all 0.2s ease-in-out;
  position: relative;
}

.file-image-box {
  cursor: pointer;
}

.file-title {
  display: inline-block;
  max-width: 175px;
  font-size: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-preview-box:hover {
  box-shadow:
    0 4px 6px -1px rgb(0 0 0 / 0.1),
    0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.file-info-box {
  font-size: 13px;
  color: #c3c3c4;
}

.close-button {
  position: absolute;
}

.close-button:global(.ant-btn.ant-btn-circle) {
  min-width: 16px !important;
  width: 16px !important;
  height: 16px !important;
  opacity: 0;
  transform: translate(50%, -50%);
  top: 4px;
  right: 4px;
}

.file-preview-box:hover .close-button:global(.ant-btn.ant-btn-circle) {
  opacity: 1;
  transition: all 0.2s ease-in-out;
  background-color: #ffffff;
}